package com.feilong.modules.model.goods.request;

import com.feilong.modules.model.goods.vo.GoodsCategoryVO;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class AddCategoryRequest {

    @NotNull(message = "类别名称不能为空")
    private String categoryName;

    @NotNull(message = "商品列表不能为空")
    private List<GoodsCategoryVO> categoryList;
}
